namespace ZR.Model.Dto.Business.ProductionControl
{
    /// <summary>
    /// 订单信息表查询对象
    /// </summary>
    public class OrderPlanQueryDto : PagerInfo
    {
        public string LineCode { get; set; }
        public string OrderCode { get; set; }
        public string OrderState { get; set; }
        public int? OrderOnlineCount { get; set; }
        public int? OrderOfflineCount { get; set; }
        public DateTime? OnlineDate { get; set; }

        public DateTime? OfflineDate { get; set; }
    }

    /// <summary>
    /// 订单信息表输入输出对象
    /// </summary>
    public class OrderPlanDto
    {
        [Required(ErrorMessage = "序号不能为空")]
        public int Id { get; set; }

        public string LineCode { get; set; }

        public string OrderType { get; set; }

        public string OrderCode { get; set; }

        public string OrderMaterial { get; set; }

        public string ProductName { get; set; }

        public string ProductType { get; set; }

        public DateTime? OnlineDate { get; set; }

        public DateTime? OfflineDate { get; set; }

        public int? OrderRank { get; set; }

        public int? OrderTotalCount { get; set; }

        public int? OrderOnlineCount { get; set; }

        public int? OrderOfflineCount { get; set; }

        public int? OrderState { get; set; }

        public DateTime? CreationTime { get; set; }

        public string CreatorName { get; set; }
        public string Remark { get; set; }
        public int? MesPushed { get; set; }

        [ExcelColumn(Name = "订单类型")]
        public string OrderTypeLabel { get; set; }
    }
}